package com.zys.sac.core.helper;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

/**
 * security容器，用来快速获取当前登录用户的相关信息
 *
 * Created by zhongjunkai on 2022/5/9.
 */
public interface SecurityContext {

    String currentUsername(HttpServletRequest request);

    Object getPrincipal();
}
